package com.yfp.client.domain.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yfp.common.core.text.BigDecimalSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 市场营销
 *
 * 
 * @date 2024/01/02
 */
@Data
public class MarketingDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 小程序价格
     */
    @Schema(description = "小程序价格")
    private String applietAmount;

    /**
     * 会员价格
     */
    @Schema(description = "会员价格")
    private String vipAmount;

    /**
     * 设备价格
     */
    @Schema(description = "设备价格")
    private String deviceAmount;

    /**
     * 优惠后的价格
     */
    @Schema(description = "优惠后的价格")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal discountedAfterPrice;

    /**
     * 优惠券id
     */
    @Schema(description = "优惠券id")
    private Long clientCouponId;
}
